/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package construtora.limiar.dao.generic;

import construtora.limiar.models.generic.IModel;
import java.util.List;

/**
 *
 * @author michel
 */
public interface IDAO {
    
    public boolean insert(IModel model);
    public boolean update(IModel model);
    public boolean delete(IModel model);
    public IModel fetchOne(IModel model);
    public List<? extends IModel> fetchAll(String where, String order, Integer limit, Integer offset);

    
}
